package com.liu.test.common;

public class BaseContext {
    private static ThreadLocal<String> threadLocal = new ThreadLocal<>();
    public static void setUserId(String id){
        threadLocal.set(id);
    }

    public static String getUserId(){
        return threadLocal.get();
    }
}
